import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { SharedModule } from '../../../shared/shared.module';
import { SxdaqkkComponent } from './sxdaqkkj.component';
import { SxdaqkkDetailComponent } from './sxdaqkk_detail.component';

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild([
      {
        path: ':pageType/:id',
        component: SxdaqkkComponent
      },
      {
        path: ':pageType',
        component: SxdaqkkComponent
      },
    ])
  ],
  declarations: [SxdaqkkComponent, SxdaqkkDetailComponent],
  exports: [RouterModule]
})
export class SxdaqkkModule { }
